﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entity.DbEntity
{
    [CustomAttribute(TableName = "pi_ProductionPlan_products", Description = "生产计划存货子表")]
  public  class DbProductionPlanPro
    {
        private int? _id;
        private string _plcode;
        private string _procode;
        private string _number;
        private string _unit;
        private string _status;
        private string _paydate;
        private string _ordercode;
        private string _rowno;
        private string _cucode;
        private int? _isdel;
        private string _deluser;
        private string _deldate;
        private string _createtime;
        private string _createuser;
        private string _cu_xianggui;
        private string _cu_baozhuang;
        private string _cu_shangbiao;
        private string _cu_yanse;
        private string _cu_guohao;
        private string _cu_zhuangxiangyq;
        private string _cu_neibaozhuangyq;
        private string _cu_gy;
        private string _memo;
        /// <summary>
        /// 主键
        /// </summary>
        public int? id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 计划编码
        /// </summary>
        public string plCode
        {
            set { _plcode = value; }
            get { return _plcode; }
        }
        /// <summary>
        /// 存货编码
        /// </summary>
        public string proCode
        {
            set { _procode = value; }
            get { return _procode; }
        }
        /// <summary>
        /// 数量
        /// </summary>
        public string number
        {
            set { _number = value; }
            get { return _number; }
        }
        /// <summary>
        /// 计量单位
        /// </summary>
        public string unit
        {
            set { _unit = value; }
            get { return _unit; }
        }
        /// <summary>
        /// 状态
        /// </summary>
        public string status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 交付日期
        /// </summary>
        public string payDate
        {
            set { _paydate = value; }
            get { return _paydate; }
        }
        /// <summary>
        /// 关联单编码
        /// </summary>
        public string orderCode
        {
            set { _ordercode = value; }
            get { return _ordercode; }
        }
        /// <summary>
        /// 关联单行号
        /// </summary>
        public string rowNO
        {
            set { _rowno = value; }
            get { return _rowno; }
        }
        /// <summary>
        /// 关联客户
        /// </summary>
        public string cuCode
        {
            set { _cucode = value; }
            get { return _cucode; }
        }
        /// <summary>
        /// 删除标识
        /// </summary>
        public int? isdel
        {
            set { _isdel = value; }
            get { return _isdel; }
        }
        /// <summary>
        /// 删除人
        /// </summary>
        public string delUser
        {
            set { _deluser = value; }
            get { return _deluser; }
        }
        /// <summary>
        /// 删除日期
        /// </summary>
        public string delDate
        {
            set { _deldate = value; }
            get { return _deldate; }
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public string createtime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 创建人
        /// </summary>
        public string createuser
        {
            set { _createuser = value; }
            get { return _createuser; }
        }
        /// <summary>
        /// 箱规
        /// </summary>
        public string cu_xianggui
        {
            set { _cu_xianggui = value; }
            get { return _cu_xianggui; }
        }
        /// <summary>
        /// 包装方式
        /// </summary>
        public string cu_baozhuang
        {
            set { _cu_baozhuang = value; }
            get { return _cu_baozhuang; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string cu_shangbiao
        {
            set { _cu_shangbiao = value; }
            get { return _cu_shangbiao; }
        }
        /// <summary>
        /// 颜色
        /// </summary>
        public string cu_yanse
        {
            set { _cu_yanse = value; }
            get { return _cu_yanse; }
        }

        /// <summary>
        /// 锅号
        /// </summary>
        public string cu_guohao
        {
            set { _cu_guohao = value; }
            get { return _cu_guohao; }
        }

        /// <summary>
        /// 装箱要求
        /// </summary>
        public string cu_zhuangxiangyq
        {
            set { _cu_zhuangxiangyq = value; }
            get { return _cu_zhuangxiangyq; }
        }

        /// <summary>
        /// 内包装要求
        /// </summary>
        public string cu_neibaozhuangyq
        {
            set { _cu_neibaozhuangyq = value; }
            get { return _cu_neibaozhuangyq; }
        }
        
        /// <summary>
        /// 存货工艺
        /// </summary>
        public string cu_gy
        {
            set { _cu_gy = value; }
            get { return _cu_gy; }
        } 
        
        /// <summary>
        /// 计划 行备注
        /// </summary>
        public string memo
        {
            set { _memo = value; }
            get { return _memo; }
        }

        public string cu_diaopai { get; set; }
        /// <summary>
        /// 销售订单数
        /// </summary>
        public string saleNum { get; set; }
        /// <summary>
        /// 存货生产计划编码
        /// </summary>
        public string prlCode{ get; set; }

        /// <summary>
        /// 要货单编码
        /// </summary>
        public string aid{ get; set; }
        
        /// <summary>
        /// 销售订单编码
        /// </summary>
        public string isosid{ get; set; }
    }
}
